<template>
	<view>
		<swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="1000"
						:duration="500">
			<swiper-item v-for="item in swiperArr" :key = 'item.id'>
				<image :src="item.litpic" mode="widthFix"></image>
			</swiper-item>
		</swiper>
	</view>
</template>

<script>
	export default {
		name:"myswiper",
		props:['swiperArr'],
		data() {
			return {
				
			};
		}
	}
</script>

<style lang='less'>
	
	.swiper image{
		width: 100%;
		
	}


</style>
